package com.validation.validator;

import com.validation.exception.ValidationException;

public class TrueValidator {

    public void validate(Boolean value, String message) {
        if (value) {
            throw new ValidationException(message);
        }
    }
}
